home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / boss / boss_sup.lzh / REV.HST < prev    next >
Text File  |  1992-03-05  |  38KB  |  808 lines

  1. /*
  2. ** WINDOWS - Simple but Elegant Window Functions 
  3. **           (Datalight, Lattice, CI86, Microsoft, Borland
  4. **            Zortech, Mix PowerC, Manx AZTEC C, WATCOM)
  5. **
  6. ** Copyright (c) 1984 - 1991 - Philip A. Mongelluzzo
  7. ** All rights reserved.
  8. **
  9. ** Revision History in reverse order:
  10. **
  11. **  The following changes were incorporated in the 03/15/92 release:
  12. **
  13. **              Added wns_gfrm2 to workaround problems Topspeed C had
  14. **              in compiling wn_frmget.
  15. **              (wn_frmget.c)                           (V7.02)
  16. **
  17. **              Added pulldown functions.  This is actually a replacement
  18. **              for wn_popup but adding it in this way will protect
  19. **              existing users software investment.
  20. **              (wn_pdown.c)                            (V7.01)
  21. **
  22. **              Certified Borland C++ 3.0 and TC++ for Windows
  23. **              (no code changes)                       (V7.00)
  24. **
  25. **              Certified Microsoft Quick C for Windows.
  26. **              (no code changes)                       (V6.16)
  27. **       
  28. **              wn_frmget was not BACK TABBING over display text.
  29. **              Thanks to Rick Brown for reporting the problem and
  30. **              the fix.
  31. **              (wn_frmget.c)                           (V6.15)
  32. **
  33. **        wn_getca was calling wns_err with an incorrect parameter.
  34. **        (wn_puts.c)                (V6.14)
  35. **
  36. **  The following changes were incorporated in the 10/31/91 release:
  37. **
  38. **              Certified WATCOM 8.5, MIX Power C 2.10
  39. **              Borland TC++ 1.01, Borland TC 2.01, Borland C 2.0
  40. **
  41. **              Dropped formal support of CI86, Datalight,
  42. **              Aztec, and Watcom's EXPRESS C.
  43. **              DO NOT CONFUSE EXPRESS C WITH WATCOM'S OPTIMIZING
  44. **              C COMPILER.
  45. **                      
  46. **              Added wn_getca (get char and atrib from window).
  47. **              (wn_puts)                               (V6.13)
  48. **
  49. **              Added wn_gmltext (get multiline text)
  50. **              (wn_gtext, winboss.h)                   (V6.12)
  51. **
  52. **              Taught wn_input about ^RightArrow and ^LeftArrow.
  53. **              AKA word right and word left.  Ground work for
  54. **              wn_gtxbuf (get text buffer).
  55. **              (wn_input, winboss.h)                   (V6.11)
  56. **
  57. **              Added wn_gssn - get social security number
  58. **              (wn_gssn, wn_frmget, winboss.h)         (V6.10)
  59. **
  60. **              Added wn_clreol - Clear to end of line
  61. **              Added wn_clreow - Clear to end of window
  62. **              (wn_clrfns)                             (V6.09)
  63. **
  64. **              Added wn_gedate - get European date.
  65. **              (winboss.h, wn_frmget, wn_gedate)       (V6.08)
  66. **
  67. **              v_setatr & v_setrev are no longer macros, they are
  68. **              now functions.
  69. **              (winboss.h, wn_bios)                    (V6.07)
  70. **
  71. **              New shadow window type 510 which provides transparrent
  72. **              shadow (dimly lit characters). NOTE: windows with
  73. **              transparrent shadows can be moved freely, however,
  74. **              once they have been covered by another window and
  75. **              are moved the shadow area will loose sync with
  76. **              the underlying text.  This is not a bug it is a
  77. **              restriction.
  78. **              (wn_open, wn_move, wn_activ)            (V6.06)
  79. **
  80. **              Added v_gctype - get cursor type.  Ya all asked for it
  81. **              so ya all got it.
  82. **              (wn_bios)                               (V6.05)
  83. **
  84. **              wn_popup was not handling BACKSPACE correctly. Thanks
  85. **              to Harold Jackson for reporting the problem. 
  86. **              (wn_popup.c, winboss.h)                 (V6.04)
  87. **
  88. **              WN_SBIT's definition changed in TCVLIB.ASM
  89. **              (tcvlib.asm)                            (V6.03)
  90. **
  91. **              "windows.h"   renamed to "winboss.h"
  92. **              "windows.ext" renamed to "winboss.ext"
  93. **              "windows.fns" renamed to "winboss.fns"
  94. **              These changes were made to eliminate the pontential
  95. **              conflict between Borland C++ (2.X) and The Window BOSS.
  96. **              (various)                               (V6.02)        
  97. **
  98. **  The following changes were incorporated in the 01/07/91 release:
  99. **
  100. **  12.26.90 -  wn_hlinit was allocating more memory than was needed.
  101. **              (wn_help.c)                             (V6.01)
  102. **
  103. **              TopSpeed "C" support added.
  104. **              (windows.h, windows.fnt)
  105. **
  106. **              wn_gulong was short 1 byte on the mask it passes 
  107. **              to wn_input.c.  Thanks to the TopSpeed Compiler for
  108. **              finding this.
  109. **
  110. **              Moved v_getchm() to "wn_mouse.c" to eliminate including
  111. **              ANY mouse code from applications that do not call
  112. **              any of the mouse functions.  v_getchm() was previously
  113. **              located in "wn_bios.c".
  114. **
  115. **              Microsoft 6.00A certification.
  116. **
  117. **  12.14.90 -  wn_close was not setting wn->shadow to FALSE when
  118. **              closing shadowed windows.  This was causing wn_activate
  119. **              to do potentially foolish things.       (V6.00)        
  120. **
  121. **  (11.01.90)  ** [Limited distribution release]
  122. **
  123. **  09.14.90 -  Watcom 8.0 Support                      (V5.22)
  124. **
  125. **  08.25.90 -  Added v_getchm() - get character or mouse press.
  126. **              (wn_mouse, wn_bios, windows.c, 
  127. **              windows.ext)                            (V5.21)
  128. **
  129. **  07.25.90 -  Zortech 2.10 Support.                   (V5.20)
  130. **
  131. **  07.23.90 -  Mix Power C 2.00 Support.               (V5.19)
  132. **
  133. **  07.18.90 -  Turbo C++ Support.  Created TCVLIB.ASM to get around
  134. **              Borland's oversight with regard to "CONST".
  135. **              (wn_print.c, tcvlib.asm)                (V5.18)
  136. **
  137. **  The following changes were incorporated in the 07.01.90 release:
  138. **
  139. **  06.16.90 -  Cosmetic and misc changes: (BOSSDEMO.C,
  140. **              MAKELIB.BAT (LC6), include memory model directives
  141. **              for Lattice 6.XX batch files).           
  142. **              Thanks again to Bill Hinkle.            (V5.17)
  143. **
  144. **              QuickC 2.5 Support.                            
  145. **
  146. **              MSC 6.0 Support.  Changed "windows.h" to CAST
  147. **              NULL as an int.
  148. **              (windows.h)                                    
  149. **
  150. **  04.04.90 -  wn_help was taught to use wn_putsa to enforce user
  151. **              specified help screen attributes.  Tip of the hat
  152. **              to Chris Madsen.
  153. **              (wn_help.c)                             (V5.16)
  154. **
  155. **  03.23.90 -  Added "wns_escape". This is set to TRUE by wn_input
  156. **              whenever ESCAPE has terimated the input.  ESCAPE
  157. **              now terminates input for all input field types.
  158. **              (wn_gbool, wn_gdate, wn_double, wn_gfloat, wn_gphone)
  159. **              (wn_gtime, wn_guint, wn_gulong, wn_gint)
  160. **              Thanks Dexter!!                         (V5.15)
  161. **
  162. **  03.12.90 -  Due to popular request, wn_open now range checks
  163. **              the window parameters to make sure that the window
  164. **              will actually fit on the screen.  NULL is returned
  165. **              if not.  This will prevent some cockpit "bad handle"
  166. **              error exits.
  167. **              (wn_open.c)                             (V5.14)
  168. **
  169. **  03.08.90 -  Added wn_hlinit, wn_help, wn_popup, and wn_qpopup.
  170. **              These functions are close clones to the old sample
  171. **              code provided in help.c and popup.c.  HELP.C and
  172. **              POPUP.C will no longer be distributed.
  173. **              (wn_help.c, wn_popup.c, windows.h)
  174. **              (genindex.c)                            (V5.13)
  175. **
  176. **  03.07.90 -  Placed all "externals" in "windows.ext".  This is
  177. **              being done to ease the burden of making changes
  178. **              to both global and external data.  This will also
  179. **              keep all the constants in one p